package org.fuys.coder.domain.auth.service.vertify.permission.repo;

import org.fuys.coder.infrastructure.model.dto.UserPermissionDTO;

import java.util.List;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.auth.service.vertify.permission.repo
 * @className: IPermissionRepoServiceAggregation
 * @author: WangJing
 * @description: 权限服务聚合
 * @date: 2024/7/11 11:03
 * @version: 1.0
 */
public interface IPermissionRepoServiceAggregation {
    List<UserPermissionDTO> getAllRoleDetail();
    boolean checkAuth(Integer userId);
}
